package cn.blueboz.dxwlsyzx.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;


@Controller
public class MainController{
	
	@RequestMapping("home")
	public String home(Model model){
		
		return "index";
	}
	
	@RequestMapping("login")
	public String login(Model model){
		return "login";
	}
	
	@RequestMapping("centerDevices")
	public String centerDevices(Model model){
		return "centerdevices";
	}
	
	@RequestMapping("studyAchieve")
	public String studyAchieve(Model model){
		return "studyachieve";
	}
	
	@RequestMapping("centerLeader")
	public String centerLeader(Model model){
		return "studyachieve";
	}
	
	@RequestMapping("syxm")
	public String syxm(Model model){
		return "syxm";
	}
	
	@RequestMapping("teachers")
	public String teachers(Model model){
		return "teachers";
	}
	
	@RequestMapping("kejian")
	public String kejian(Model model){
		return "kejian";
	}
	
	@RequestMapping("video")
	public String video(Model model){
		return "video";
	}
	
	@RequestMapping("resources")
	public String resources(Model model){
		return "resources";
	}
	
	@RequestMapping("myinfo")
	public String myinfo(Model model){
		return "myinfo";
	}
	
	@RequestMapping("message")
	public String message(Model model){
		return "message";
	}
	
	@RequestMapping("logout")
	public String logout(Model model){
		return "index";
	}
	
	
	
	
	
	
	
	
}
